//
//  FoldingSubCell.swift
//  elarc01
//
//  Created by elarc on 16/6/27.
//  Copyright © 2016年 elarc. All rights reserved.
//

import UIKit
import FoldingCell

class FoldingSubCell: FoldingCell {
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
//        self.backgroundColor = UIColor.redColor()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func swap(inout charas:[Int], _ p:Int,_ q :Int) -> Void {
        let temp = charas[p]
        charas[p] = charas[q]
        charas[q] = temp
    }
    
    

}
